package com.yamaikeji.system.domain.plan;

import com.yamaikeji.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 子任务对象 p_plan_task
 * 
 * @author yamaikeji
 * @date 2024-12-27
 */
public class PlanTask extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 子任务编号 */
    private String planTaskNo;

    /** 计划编号 */
    private String planNo;

    /** 用户编号 */
    private String userNo;

    /** 子任务名称 */
    private String planTaskName;

    /** 子任务状态(0未完成 1已完成) */
    private String planTaskStatus;

    /** 完成时间 */
    private Date completeTime;

    /** 删除标志（0存在 2删除） */
    private String delFlag;

    /** 计划编号列表 */
    private List<String> planNoList;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPlanTaskNo() {
        return planTaskNo;
    }

    public void setPlanTaskNo(String planTaskNo) {
        this.planTaskNo = planTaskNo;
    }

    public String getPlanNo() {
        return planNo;
    }

    public void setPlanNo(String planNo) {
        this.planNo = planNo;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getPlanTaskName() {
        return planTaskName;
    }

    public void setPlanTaskName(String planTaskName) {
        this.planTaskName = planTaskName;
    }

    public String getPlanTaskStatus() {
        return planTaskStatus;
    }

    public void setPlanTaskStatus(String planTaskStatus) {
        this.planTaskStatus = planTaskStatus;
    }

    public Date getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(Date completeTime) {
        this.completeTime = completeTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public List<String> getPlanNoList() {
        return planNoList;
    }

    public void setPlanNoList(List<String> planNoList) {
        this.planNoList = planNoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("planTaskNo", getPlanTaskNo())
            .append("planNo", getPlanNo())
            .append("userNo", getUserNo())
            .append("planTaskName", getPlanTaskName())
            .append("planTaskStatus", getPlanTaskStatus())
            .append("completeTime", getCompleteTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
